//
//  KTCoinDetailController.swift
//  KOLToken
//
//  Created by san.yang on 2020/3/8.
//  Copyright © 2020 iOS-team. All rights reserved.
//

import UIKit


/// coin 全网指数详情页面
class KTCoinDetailController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        title = "全网指数"
        initValue()
        buildUI()
        // Do any additional setup after loading the view.
    }
    
    // MARK: - init
    private func buildUI() {
        view.addSubview(headerView)
    }
    
    override func viewWillLayoutSubviews() {
        headerView.snp.makeConstraints { (make) in
            make.left.top.right.equalToSuperview()
            make.height.equalTo(160)
        }
    }
    
    // MARK: - lazy
    lazy var headerView: KTCoinDetailSinglePankouView = {
        let view = KTCoinDetailSinglePankouView.init()
        return view
    }()
}
